import NoticeCenter from './noticecenter.vue'
import NoticeCenterSearch from './noticecenterSearch.vue'
import NoticeCenterEdit from './noticecenterEdit.vue'
import NoticeCenterAdd from './noticecenterAdd.vue'
import NoticeCenterView from './noticecenterView.vue'

const components = [
  NoticeCenter,
  NoticeCenterSearch,
  NoticeCenterEdit,
  NoticeCenterAdd,
  NoticeCenterView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
